package cn.com.fig.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface DictionaryMapper {
	
	@Select("SELECT dicId,dicName,tableName,keyName,valName,dicStatus FROM t_dictionary WHERE dicId = #{dicId}")
	Map<String,String> getDicById(String dicId);
	
	List<Map<String,Object>> listDic(@Param("dicSql")String dicSql);
}
